import QtQuick 2.0

TabWidget {
    id: tabs
    width: parent.width
    height: parent.height

    Rectangle {
        property string title: qsTr("general")
        anchors.fill: parent
        color: "#e3e3e3"

        Rectangle {
            anchors.fill: parent
            color: "#ff7f7f"
            Text {
                width: parent.width - 20
                anchors.centerIn: parent
                horizontalAlignment: Qt.AlignHCenter
                text: "general"
                font.pixelSize: 20
                wrapMode: Text.WordWrap
            }
        }
    }

    Rectangle {
        property string title: qsTr("display")
        anchors.fill: parent
        color: "#e3e3e3"

        Rectangle {
            anchors.fill: parent
            color: "#7fff7f"
            Text {
                width: parent.width - 20
                anchors.centerIn: parent
                horizontalAlignment: Qt.AlignHCenter
                text: "display"
                font.pixelSize: 20
                wrapMode: Text.WordWrap
            }
        }
    }

    Rectangle {
        property string title: qsTr("mouse and keyboard")
        anchors.fill: parent
        color: "#e3e3e3"

        Rectangle {
            anchors.fill: parent
            color: "#7f7fff"
            Text {
                width: parent.width - 20
                anchors.centerIn: parent
                horizontalAlignment: Qt.AlignHCenter
                text: "mouse and keyboard"
                font.pixelSize: 20
                wrapMode: Text.WordWrap
            }
        }
    }
    Rectangle {
        property string title: qsTr("security")
        anchors.fill: parent
        color: "#e3e3e3"

        Rectangle {
            anchors.fill: parent
            color: "#7f7fff"
            Text {
                width: parent.width - 20
                anchors.centerIn: parent
                horizontalAlignment: Qt.AlignHCenter
                text: "security"
                font.pixelSize: 20
                wrapMode: Text.WordWrap
            }
        }
    }

    Rectangle {
        property string title: qsTr("network")
        anchors.fill: parent
        color: "#e3e3e3"

        Rectangle {
            anchors.fill: parent
            color: "#7f7fff"
            Text {
                width: parent.width - 20
                anchors.centerIn: parent
                horizontalAlignment: Qt.AlignHCenter
                text: "network"
                font.pixelSize: 20
                wrapMode: Text.WordWrap
            }
        }
    }
}
